public class Test {
    public static void main(String[] args) {
        Employee employee1=new Employee();
        employee1.staffName="Tom";
        employee1.staffId="108";
        employee1.gender="man";
        employee1.seniority=2;
        employee1.baseSalary=6000;
        employee1.maritPay=4000;
        employee1.workType="engineer";
        employee1.absenceDays=3;

        employee1.work();
        employee1.getPaid();
        employee1.salary();
    }
}
